package com.yugao.fintech.draper.scheduled.task;

import com.yugao.fintech.draper.quartz.annotation.ScheduledJob;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

@Slf4j
@ScheduledJob(log = true, name = "demoJob")
public class DemoJob implements com.yugao.fintech.draper.quartz.task.ScheduledJob {

	@Override
	public void execute(String parameter) {
		log.info("demoJob执行,方法参数:{},时间:{}", parameter, LocalDateTime.now());
	}

}
